package com.jiantong.work.service.yangzhibaoxian;

/**
 * Created by ThinkPad on 2017/9/5.
 */

import com.jiantong.work.model.yangzhibaoxian.InsuranceCheck;
import com.jiantong.work.model.yangzhibaoxian.InsuranceCompany;
import io.terminus.common.model.Paging;
import io.terminus.common.model.Response;
import lombok.Data;

import java.util.List;
import java.util.Map;

/**
 * 保险公司
 */
public interface InsuranceCompanyService {
    Response<InsuranceCompany> findById(Long id);

    Response<List<InsuranceCompany>> findByIds(List ids);

    Response<List<InsuranceCompany>> list(Map map);

    Response<Paging<InsuranceCompany>> ping(Integer offset, Integer limit, Map map);

    Boolean update(InsuranceCompany insuranceCompany);

    Long create(InsuranceCompany insuranceCompany);

    Integer creates(List<InsuranceCompany> insuranceCompanyList);


}
